factory Template.fromJson(Map<String, dynamic> json) { return Template( value: json['value'] as String?, ); }