copyWith method
EmitNewStateAction
copyWith({
- ID? id,
- ID? stateID,
- List<
EmitNewStatePassingParameter> ? fields, - ID? cubitID,
Implementation
EmitNewStateAction copyWith({
ID? id,
ID? stateID,
List<EmitNewStatePassingParameter>? fields,
ID? cubitID,
}) {
return EmitNewStateAction(
id: id ?? this.id,
stateID: stateID ?? this.stateID,
fields: fields ?? this.fields,
cubitID: cubitID ?? this.cubitID,
);
}