clone method

CsrFieldConfig clone({
  1. int? start,
  2. int? width,
  3. String? name,
  4. CsrFieldAccess? access,
  5. int? resetValue,
  6. List<int>? legalValues,
})

Clone the field configuration with optional overrides.

Implementation

CsrFieldConfig clone(
        {int? start,
        int? width,
        String? name,
        CsrFieldAccess? access,
        int? resetValue,
        List<int>? legalValues}) =>
    CsrFieldConfig(
      start: start ?? this.start,
      width: width ?? this.width,
      name: name ?? this.name,
      access: access ?? this.access,
      resetValue: resetValue ?? this.resetValue,
      legalValues: legalValues ?? this.legalValues,
    );