copyWith method

SembastImportOptions copyWith({
  1. List<String>? storeNames,
  2. List<SembastExportTypeEncoding>? allowedTypeEncodings,
})

A copy with the given fields changed.

Implementation

SembastImportOptions copyWith({
  List<String>? storeNames,
  List<SembastExportTypeEncoding>? allowedTypeEncodings,
}) => SembastImportOptions(
  storeNames: storeNames ?? this.storeNames,
  allowedTypeEncodings: allowedTypeEncodings ?? this.allowedTypeEncodings,
);