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