replace<NewType> method

PartValue<NewType> replace <NewType>(
  1. {String name,
  2. NewType value}
)

Implementation

PartValue<NewType> replace<NewType>({String name, NewType value}) =>
    PartValue<NewType>(
      name ?? this.name,
      value ?? this.value,
    );