copyWith method

OperatorDetail copyWith({
  1. String? base,
  2. List<String>? provinces,
  3. String? model,
  4. SimCardType? type,
  5. Operator? operator,
})

Implementation

OperatorDetail copyWith({
  String? base,
  List<String>? provinces,
  String? model,
  SimCardType? type,
  Operator? operator,
}) =>
    OperatorDetail(
      base: base ?? this.base,
      provinces: provinces ?? this.provinces,
      model: model ?? this.model,
      type: type ?? this.type,
      operator: operator ?? this.operator,
    );