toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (formattedType != null) 'formattedType': formattedType!,
      if (metadata != null) 'metadata': metadata!,
      if (person != null) 'person': person!,
      if (type != null) 'type': type!,
    };