LocationMessageNode.fromJson constructor

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

Implementation

LocationMessageNode.fromJson(Map<String, dynamic> json)
    : super(MessageElemTypeEnum.Location) {
  if (json['desc'] != null) desc = json['desc'];
  if (json['longitude'] != null) longitude = json['longitude'];
  if (json['latitude'] != null) latitude = json['latitude'];
}