decode static method

JoinChannelRequest decode(
  1. Object result
)

Implementation

static JoinChannelRequest decode(Object result) {
  result as List<Object?>;
  return JoinChannelRequest(
    token: result[0] as String?,
    channelName: result[1]! as String,
    uid: result[2]! as int,
    channelOptions: result[3] != null
        ? JoinChannelOptions.decode(result[3]! as List<Object?>)
        : null,
  );
}