toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (caseId != null) 'caseId': caseId!,
      if (cpiId != null) 'cpiId': cpiId!,
      if (latitude != null) 'latitude': latitude!,
      if (longitude != null) 'longitude': longitude!,
      if (state != null) 'state': state!,
    };