copyWith method

ApiRequestMapEntity copyWith({
  1. ID? id,
  2. String? key,
  3. dynamic value,
  4. bool? immutable,
  5. bool? nullable,
  6. VariableTypes? type,
  7. ID? modelID,
})

Implementation

ApiRequestMapEntity copyWith({
  final ID? id,
  final String? key,
  final dynamic value,
  final bool? immutable,
  final bool? nullable,
  final VariableTypes? type,
  final ID? modelID,
}) =>
    ApiRequestMapEntity(
      id: id ?? this.id,
      key: key ?? this.key,
      value: value ?? this.value,
      immutable: immutable ?? this.immutable,
      type: type ?? this.type,
      nullable: nullable ?? this.nullable,
      modelID: modelID ?? this.modelID,
    );