DestinationInfo.fromJson constructor

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

Implementation

factory DestinationInfo.fromJson(Map<String, dynamic> json) {
  return DestinationInfo(
    id: json['id'] as String?,
    service: json['service'] as String?,
  );
}