TGoogleLocationRestriction.fromJson constructor
Implementation
factory TGoogleLocationRestriction.fromJson(Map<String, dynamic> json) {
return TGoogleLocationRestriction(
circle: json['circle'] != null
? TGoogleCircle.fromJson(json['circle'] as Map<String, dynamic>)
: null,
rectangle: json['rectangle'] != null
? TGoogleRectangle.fromJson(json['rectangle'] as Map<String, dynamic>)
: null,
);
}