toJson method
Implementation
Map<String, dynamic> toJson() => <String, dynamic>{
'title': title,
'display': display,
'editable': editable,
'input_decoration': inputDecoration?.toJson(),
'constrains': constrains?.toJson(),
'style': style?.toJson(),
};