decode static method
Implementation
static UserDataResponse decode(Object result) {
result as List<Object?>;
return UserDataResponse(
requestStatus: RequestStatus.values[result[0]! as int],
userData: UserData.decode(result[1]! as List<Object?>),
);
}