toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (caseSensitive != null) 'caseSensitive': caseSensitive!,
      if (extractA != null) 'extractA': extractA!,
      if (extractB != null) 'extractB': extractB!,
      if (fieldA != null) 'fieldA': fieldA!,
      if (fieldAIndex != null) 'fieldAIndex': fieldAIndex!,
      if (fieldARequired != null) 'fieldARequired': fieldARequired!,
      if (fieldB != null) 'fieldB': fieldB!,
      if (fieldBIndex != null) 'fieldBIndex': fieldBIndex!,
      if (fieldBRequired != null) 'fieldBRequired': fieldBRequired!,
      if (outputConstructor != null) 'outputConstructor': outputConstructor!,
      if (outputToField != null) 'outputToField': outputToField!,
      if (outputToFieldIndex != null)
        'outputToFieldIndex': outputToFieldIndex!,
      if (overrideOutputField != null)
        'overrideOutputField': overrideOutputField!,
    };