copyWith method

  1. @override
ConfigurationBlockModel copyWith({
  1. Map<String, dynamic>? configArguments,
  2. String? name,
})
override

Implementation

@override
ConfigurationBlockModel copyWith(
    {Map<String, dynamic>? configArguments, String? name}) {
  return FunctionConfigBlockModel(
    configArguments: configArguments ?? this.configArguments,
    typeName: typeName,
    uuid: uuid,
    name: name ?? blockName,
  );
}