RelayCredentialsRequest constructor

RelayCredentialsRequest({
  1. String? credentials,
  2. Int32Value? timeToLiveInSeconds,
})

Implementation

factory RelayCredentialsRequest({
  $core.String? credentials,
  $1.Int32Value? timeToLiveInSeconds,
}) {
  final result = create();
  if (credentials != null) result.credentials = credentials;
  if (timeToLiveInSeconds != null)
    result.timeToLiveInSeconds = timeToLiveInSeconds;
  return result;
}