Fare.fromMap constructor

Fare.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory Fare.fromMap(Map<String, dynamic> map) => Fare(
      text: map['text'] as String?,
      currency: map['currency'] as String?,
      value: map['value'] as num?,
    );