copyWith method

AppModelsState copyWith({
  1. Map<String, ModelEntity>? models,
})

Implementation

AppModelsState copyWith({
  final Map<String, ModelEntity>? models,
}) {
  return AppModelsState(
    models: models ?? this.models,
  );
}