merge method

  1. @override
PlatformGoldensConfig merge(
  1. covariant PlatformGoldensConfig? other
)
override

Creates a copy and merges this GoldensConfig with the given config, replacing all set fields of the copy with the given config's fields.

Implementation

@override
PlatformGoldensConfig merge(covariant PlatformGoldensConfig? other) {
  return copyWith(
    platforms: other?._platforms,
    enabled: other?.enabled,
    obscureText: other?.obscureText,
    renderShadows: other?.renderShadows,
    filePathResolver: other?._filePathResolver,
    theme: other?._theme,
  );
}