Resource constructor

  1. @protected
Resource(
  1. String name,
  2. ResourcesClient? client
)

Implementation

@protected
Resource(this.name, $p.ResourcesClient? client) {
  if (client == null) {
    _client =
        $p.ResourcesClient(ClientChannelSingleton.instance.clientChannel);
  } else {
    _client = client;
  }
}