replace method Null safety

  1. @override
void replace(
  1. CheckoutResult other
)
override

Replaces the value in the builder with a new one.

The implementation of this method will be generated for you by the built_value generator.

Implementation

@override
void replace(CheckoutResult other) {
  ArgumentError.checkNotNull(other, 'other');
  _$v = other as _$CheckoutResult;
}