HopDestination.fromJson constructor

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

Implementation

factory HopDestination.fromJson(Map<String, dynamic> json) {
  return HopDestination(
    priority: json['priority'] as int?,
    queue: json['queue'] as String?,
    waitMinutes: json['waitMinutes'] as int?,
  );
}