copyWith method

WebViewContent copyWith({
  1. String? source,
  2. SourceType? sourceType,
  3. Map<String, String>? headers,
  4. Object? webPostRequestBody,
})

Implementation

WebViewContent copyWith({
  String? source,
  SourceType? sourceType,
  Map<String, String>? headers,
  Object? webPostRequestBody,
}) =>
    WebViewContent(
      source: source ?? this.source,
      sourceType: sourceType ?? this.sourceType,
      headers: headers ?? this.headers,
      webPostRequestBody: webPostRequestBody ?? this.webPostRequestBody,
    );