copyWith method

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

Implementation

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