GrpcRouteMetadataMatchMethod.fromJson constructor
Implementation
factory GrpcRouteMetadataMatchMethod.fromJson(Map<String, dynamic> json) {
return GrpcRouteMetadataMatchMethod(
exact: json['exact'] as String?,
prefix: json['prefix'] as String?,
range: json['range'] != null
? MatchRange.fromJson(json['range'] as Map<String, dynamic>)
: null,
regex: json['regex'] as String?,
suffix: json['suffix'] as String?,
);
}