copyWith method

TLVModel copyWith({
  1. String? tag,
  2. String? length,
  3. String? value,
})

Implementation

TLVModel copyWith({
  String? tag,
  String? length,
  String? value,
}) =>
    TLVModel(
      tag: tag ?? this.tag,
      length: length ?? this.length,
      value: value ?? this.value,
    );