UserLocation.fromJson constructor

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

Implementation

factory UserLocation.fromJson(Map<String, dynamic> json) => UserLocation(
      city: json['city'] as String?,
      country: json['country'] as String?,
      region: json['region'] as String?,
      timezone: json['timezone'] as String?,
    );