WorldLocation.fromJson constructor

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

Implementation

factory WorldLocation.fromJson(Map<String, dynamic> json) {
  return WorldLocation(
      streetName: json['streetName'],
      streetNumber: json['streetNumber'],
      extra: json['extra']);
}