TrafficAssociation.fromJson constructor

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

Implementation

factory TrafficAssociation.fromJson(Map<String, dynamic> json) =>
    TrafficAssociation(
      shortName: json['kurzbezeichnung'],
      fullName: json['langbezeichnung'],
      tariffCode: json['tarifgebercode'],
    );