toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'primary_key': primaryKey,
      'auto_increase': autoIncrease,
      'name': name,
      'title': title,
      'type': type,
      'format': format,
      'description': description,
      'display': display,
      'editable': editable,
      'width_factor': widthFactor,
      'input_decoration': inputDecoration?.toJson(),
      'constrains': constrains?.toJson(),
      'style': style?.toJson(),
    };