PasskitLocation.fromJson constructor

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

Implementation

factory PasskitLocation.fromJson(Map<String, dynamic> json) {
  return PasskitLocation(
    latitude: json['latitude'],
    longitude: json['longitude'],
    altitude: json['altitude'],
    relevantText: json['relevantText'],
  );
}