copyWith method

CasdoorSdkParams copyWith({
  1. String? url,
  2. String? callbackUrlScheme,
  3. BuildContext? buildContext,
  4. bool? showFullscreen,
  5. bool? isMaterialStyle,
  6. bool? preferEphemeral,
  7. bool? clearCache,
})

Implementation

CasdoorSdkParams copyWith({
  String? url,
  String? callbackUrlScheme,
  BuildContext? buildContext,
  bool? showFullscreen,
  bool? isMaterialStyle,
  bool? preferEphemeral,
  bool? clearCache,
}) =>
    CasdoorSdkParams(
      url: url ?? this.url,
      callbackUrlScheme: callbackUrlScheme ?? this.callbackUrlScheme,
      buildContext: buildContext ?? this.buildContext,
      showFullscreen: showFullscreen ?? this.showFullscreen,
      isMaterialStyle: isMaterialStyle ?? this.isMaterialStyle,
      preferEphemeral: preferEphemeral ?? this.preferEphemeral,
      clearCache: clearCache ?? this.clearCache,
    );