LoginData.from(Map<String, dynamic> data) : username = data['username'] ?? '', passwd = data['passwd'] ?? '', mfaCode = data['mfaCode'];