fromJson static method

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

Implementation

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

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