Last active
September 11, 2018 16:38
-
-
Save xiprox/185314e66e0a191fec6d95c826cacc64 to your computer and use it in GitHub Desktop.
Flutter IntelliJ File Templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ${ClassName} { | |
${ClassName}(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:json_annotation/json_annotation.dart'; | |
part '${NAME}.g.dart'; | |
@JsonSerializable() | |
class ${ClassName} { | |
${ClassName}(); | |
factory ${ClassName}.fromJson(Map<String, dynamic> json) => | |
_$${ClassName}FromJson(json); | |
Map<String, dynamic> toJson() => _$${ClassName}ToJson(this); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment