fromMap static method
Gets a possible LoginRequest instance from a Map value.
Implementation
static LoginRequest? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = LoginRequest(
account: map['account'],
args: map['args'],
realm: map['realm'],
);
return instance;
}