GrpcRouteMatch.fromJson constructor
Implementation
factory GrpcRouteMatch.fromJson(Map<String, dynamic> json) {
return GrpcRouteMatch(
metadata: (json['metadata'] as List?)
?.whereNotNull()
.map((e) => GrpcRouteMetadata.fromJson(e as Map<String, dynamic>))
.toList(),
methodName: json['methodName'] as String?,
serviceName: json['serviceName'] as String?,
);
}