content property
content of file
Implementation
@override
String get content =>
'''import 'package:json_annotation/json_annotation.dart';
part '${name.snakeCase}.data.g.dart';
@JsonSerializable()
class $_fileName {
final int id;
$getAttributs
const $_fileName({required this.id$getConstructor});
factory $_fileName.fromJson(Map<String, dynamic> json) =>
_\$${_fileName}FromJson(json);
Map<String, dynamic> toJson() => _\$${_fileName}ToJson(this);
}
''';