GetRTCTokenResp constructor

GetRTCTokenResp({
  1. String? token,
  2. String? appId,
  3. String? roomId,
  4. String? userId,
  5. Int64? expireAt,
})

Implementation

factory GetRTCTokenResp({
  $core.String? token,
  $core.String? appId,
  $core.String? roomId,
  $core.String? userId,
  $fixnum.Int64? expireAt,
}) {
  final result = create();
  if (token != null) result.token = token;
  if (appId != null) result.appId = appId;
  if (roomId != null) result.roomId = roomId;
  if (userId != null) result.userId = userId;
  if (expireAt != null) result.expireAt = expireAt;
  return result;
}