DataflowEndpoint.fromJson constructor
Implementation
factory DataflowEndpoint.fromJson(Map<String, dynamic> json) {
return DataflowEndpoint(
address: json['address'] != null
? SocketAddress.fromJson(json['address'] as Map<String, dynamic>)
: null,
mtu: json['mtu'] as int?,
name: json['name'] as String?,
status: (json['status'] as String?)?.toEndpointStatus(),
);
}