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(json['location'] as Map<String, dynamic>?)!,
  );
}