RouteStatus.fromJson constructor

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

Implementation

factory RouteStatus.fromJson(Map<String, dynamic> json) {
  return RouteStatus(
    status: (json['status'] as String).toRouteStatusCode(),
  );
}