toJson method
Implementation
@override
Map<String, dynamic> toJson() => withoutNulls({
'users': users?.map((item) => item.toJson()).toList(),
'accounts': accounts?.map((item) => item.toJson()).toList(),
'allowTransparent': transparent,
'userLevel': userLevel,
});