SentryGeo.fromJson constructor

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

Implementation

factory SentryGeo.fromJson(Map<String, dynamic> json) {
  return SentryGeo(
    city: json['city'],
    countryCode: json['country_code'],
    region: json['region'],
  );
}