copy method
Implementation
NotifiableSnapshot copy({
bool? ready,
PermissionStatus? permission,
Object? subscriber = _keep,
Object? clientConfig = _keep,
Object? devIndicator = _keep,
Object? diagnostics = _keep,
Object? deepLinks = _keep,
Object? error = _keep,
}) {
return NotifiableSnapshot(
ready: ready ?? this.ready,
permission: permission ?? this.permission,
subscriber: identical(subscriber, _keep) ? this.subscriber : subscriber as Subscriber?,
clientConfig: identical(clientConfig, _keep)
? this.clientConfig
: clientConfig as DeliveryConfig?,
devIndicator: identical(devIndicator, _keep)
? this.devIndicator
: devIndicator as DevIndicatorChoice?,
diagnostics: identical(diagnostics, _keep)
? this.diagnostics
: diagnostics as DiagnosticsChoice?,
deepLinks: identical(deepLinks, _keep) ? this.deepLinks : deepLinks as List<DeepLink>?,
error: identical(error, _keep) ? this.error : error as NotifiableError?,
);
}