decode static method

UserJoinedEvent decode(
  1. Object result
)

Implementation

static UserJoinedEvent decode(Object result) {
  result as List<Object?>;
  return UserJoinedEvent(
    uid: result[0]! as int,
    joinExtraInfo: result[1] != null
        ? NERtcUserJoinExtraInfo.decode(result[1]! as List<Object?>)
        : null,
  );
}