fromJson static method

InputMessageLocation? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static InputMessageLocation? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return InputMessageLocation(
    location: Location.fromJson(tdMapFromJson(json['location'])),
  );
}