AuthenticationResponse.fromJson constructor
AuthenticationResponse.fromJson()
Implementation
factory AuthenticationResponse.fromJson(
Map<String, dynamic> jsonSerialization,
_i1.SerializationManager serializationManager,
) {
return AuthenticationResponse(
success:
serializationManager.deserialize<bool>(jsonSerialization['success']),
key: serializationManager.deserialize<String?>(jsonSerialization['key']),
keyId: serializationManager.deserialize<int?>(jsonSerialization['keyId']),
userInfo: serializationManager
.deserialize<_i2.UserInfo?>(jsonSerialization['userInfo']),
failReason:
serializationManager.deserialize<_i2.AuthenticationFailReason?>(
jsonSerialization['failReason']),
);
}