RoutingStrategy.fromJson constructor

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

Implementation

factory RoutingStrategy.fromJson(Map<String, dynamic> json) {
  return RoutingStrategy(
    fleetId: json['FleetId'] as String?,
    message: json['Message'] as String?,
    type: (json['Type'] as String?)?.toRoutingStrategyType(),
  );
}