LocationChatMessage.fromJson constructor

LocationChatMessage.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory LocationChatMessage.fromJson(Map<String, dynamic> json) => LocationChatMessage(
      latitude: json["latitude"].toDouble(),
      longitude: json["longitude"].toDouble(),
      mapLocationUrl: json["mapLocationUrl"],
      messageId: json["messageId"],
    );