toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (endAddress != null) 'endAddress': endAddress!,
      if (note != null) 'note': note!,
      if (startAddress != null) 'startAddress': startAddress!,
    };