ProtocolHandler.fromJson constructor

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

Implementation

factory ProtocolHandler.fromJson(Map<String, dynamic> json) {
  return ProtocolHandler(
    protocol: json['protocol'] as String,
    url: json['url'] as String,
  );
}