Code Monkey home page Code Monkey logo

gettersetter's Introduction

Dart Getters And Setters

Automatically Generate Getters And Setters


Version Installs issues tweet license

Installation

You can either install it from vscode or from the following link:

https://marketplace.visualstudio.com/items?itemName=PeterHdd.dartgettersetter

Information

This vscode extension will automatically create the getters and setters for the fields in the dart file.

Usage

Select the fields you want, right click and click on Generate Getter And Setter:

example-image

String _name;
int _age;

 String get name => this._name;

 set name(String value) => this._name = value;

 int get age => this._age;

 set age(int value) => this._age = value;

Support!

Support the repository by joining the stargazers for this repo โญ

Created & Maintained By

Peter (@peterndev)

If you found this extension helpful and want to thank me, consider buying me a cup of โ˜•

Buy Me A Coffee

gettersetter's People

Contributors

dependabot[bot] avatar peterhdd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.