ChatLocation.fromJson constructor

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

Parse from a json

Implementation

factory ChatLocation.fromJson(Map<String, dynamic> json) => ChatLocation(
      location: Location.fromJson(json['location']),
      address: json['address'],
    );