accountUserRoleStatusFromJson function
Implementation
AccountUserRoleStatus accountUserRoleStatusFromJson(
String? accountUserRoleStatus) {
if (accountUserRoleStatus == null) {
return AccountUserRoleStatus.swaggerGeneratedUnknown;
}
return $AccountUserRoleStatusMap.entries
.firstWhere(
(element) =>
element.value.toLowerCase() ==
accountUserRoleStatus.toLowerCase(),
orElse: () =>
const MapEntry(AccountUserRoleStatus.swaggerGeneratedUnknown, ''))
.key;
}