copyWith method
Creates a copy with replaced values.
Implementation
FunctionCall copyWith({
Object? id = unsetCopyWithValue,
Object? name = unsetCopyWithValue,
Object? args = unsetCopyWithValue,
}) {
return FunctionCall(
id: id == unsetCopyWithValue ? this.id : id as String?,
name: name == unsetCopyWithValue ? this.name : name! as String,
args: args == unsetCopyWithValue
? this.args
: args as Map<String, dynamic>?,
);
}