RoutingParameter.fromJson constructor
RoutingParameter.fromJson(
- Object? j
Implementation
factory RoutingParameter.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return RoutingParameter(
field: switch (json['field']) {
null => '',
Object $1 => decodeString($1),
},
pathTemplate: switch (json['pathTemplate']) {
null => '',
Object $1 => decodeString($1),
},
);
}