copyWith method

  1. @override
FirebaseAuthenticationSettingsIos copyWith({
  1. String? deviceToken,
  2. bool? isAppSandbox,
})
override

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

@override
FirebaseAuthenticationSettingsIos copyWith({
  String? deviceToken,
  bool? isAppSandbox,
}) => FirebaseAuthenticationSettingsIos(
  deviceToken: deviceToken ?? this.deviceToken,
  isAppSandbox: isAppSandbox ?? this.isAppSandbox,
);