toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "RegistrationId": registrationId,
      "Name": name,
      "UserType": userType,
      "IsOnline": isOnline,
      "CurrentLocationLat": currentLocationLat,
      "CurrentLocationLng": currentLocationLng,
      "FCMToken": fcmToken,
      "Note": note,
      "VehicleType": vehicleType,
      "Status": status,
      "CreateDate": createDate.toIso8601String(),
      "UpdateDate": updateDate,
    };