copyWith method

PlusCode copyWith({
  1. String? compoundCode,
  2. String? globalCode,
})

Implementation

PlusCode copyWith({String? compoundCode, String? globalCode}) {
  return PlusCode(
    compoundCode: compoundCode ?? this.compoundCode,
    globalCode: globalCode ?? this.globalCode,
  );
}