merge method
Implementation
AssetPickerConfig merge([AssetPickerConfig? config]) => AssetPickerConfig(
selectedAssets: config?.selectedAssets ?? selectedAssets,
maxAssets: config?.maxAssets ?? maxAssets,
pageSize: config?.pageSize ?? pageSize,
gridThumbnailSize: config?.gridThumbnailSize ?? gridThumbnailSize,
pathThumbnailSize: config?.pathThumbnailSize ?? pathThumbnailSize,
previewThumbnailSize:
config?.previewThumbnailSize ?? previewThumbnailSize,
requestType: config?.requestType ?? requestType,
specialPickerType: config?.specialPickerType ?? specialPickerType,
keepScrollOffset: config?.keepScrollOffset ?? keepScrollOffset,
sortPathDelegate: config?.sortPathDelegate ?? sortPathDelegate,
sortPathsByModifiedDate:
config?.sortPathsByModifiedDate ?? sortPathsByModifiedDate,
filterOptions: config?.filterOptions ?? filterOptions,
gridCount: config?.gridCount ?? gridCount,
themeColor: config?.themeColor ?? themeColor,
pickerTheme: config?.pickerTheme ?? pickerTheme,
textDelegate: config?.textDelegate ?? textDelegate,
specialItemPosition: config?.specialItemPosition ?? specialItemPosition,
specialItemBuilder: config?.specialItemBuilder ?? specialItemBuilder,
loadingIndicatorBuilder:
loadingIndicatorBuilder ?? loadingIndicatorBuilder,
selectPredicate: config?.selectPredicate ?? selectPredicate,
shouldRevertGrid: config?.shouldRevertGrid ?? shouldRevertGrid,
limitedPermissionOverlayPredicate:
config?.limitedPermissionOverlayPredicate ??
limitedPermissionOverlayPredicate,
pathNameBuilder: config?.pathNameBuilder ?? pathNameBuilder);