accountStateFromJson function
Implementation
AccountState? accountStateFromJson(String? state) {
return state == null
? null
: state == "listed" ? AccountState.LISTED : AccountState.NORMAL;
}
AccountState? accountStateFromJson(String? state) {
return state == null
? null
: state == "listed" ? AccountState.LISTED : AccountState.NORMAL;
}