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