fieldData method

Map<String, dynamic> fieldData(
  1. Field field
)

Get the data for a field

Implementation

Map<String, dynamic> fieldData(Field field) {
  Map<String, dynamic> json = field.toJson();

  return {json["key"]: json["value"]};
}