FieldToMatch.fromJson constructor

FieldToMatch.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory FieldToMatch.fromJson(Map<String, dynamic> json) {
  return FieldToMatch(
    type: (json['Type'] as String).toMatchFieldType(),
    data: json['Data'] as String?,
  );
}