toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'field_id': fieldID,
      'index': index,
      'sub_field': subField?.toJson(),
    };