decode static method

UserDataResponse decode(
  1. Object result
)

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?>),
  );
}