toMap method Null safety
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'uid': uid,
'accessToken': accessToken,
'secretKey': secretKey,
'authorizationType': authorizationType.value,
'cluster': cluster,
'appId': appId,
};
}