Skip to content

Commit 92fcf1b

Browse files
committed
add import for copyWith
1 parent 14309be commit 92fcf1b

46 files changed

Lines changed: 46 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/json_serializable/class.mustache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import 'package:copy_with_extension/copy_with_extension.dart';
12
import 'package:json_annotation/json_annotation.dart';
23
{{#useEquatable}}
34
import 'package:equatable/src/equatable_utils.dart';

samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/lib/src/model/additional_properties_class.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
//
44

55
// ignore_for_file: unused_element
6+
import 'package:copy_with_extension/copy_with_extension.dart';
67
import 'package:json_annotation/json_annotation.dart';
78

89
part 'additional_properties_class.g.dart';

samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/lib/src/model/all_of_with_single_ref.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
// ignore_for_file: unused_element
66
import 'package:openapi/src/model/single_ref_type.dart';
7+
import 'package:copy_with_extension/copy_with_extension.dart';
78
import 'package:json_annotation/json_annotation.dart';
89

910
part 'all_of_with_single_ref.g.dart';

samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/lib/src/model/animal.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
//
44

55
// ignore_for_file: unused_element
6+
import 'package:copy_with_extension/copy_with_extension.dart';
67
import 'package:json_annotation/json_annotation.dart';
78

89
part 'animal.g.dart';

samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/lib/src/model/api_response.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
//
44

55
// ignore_for_file: unused_element
6+
import 'package:copy_with_extension/copy_with_extension.dart';
67
import 'package:json_annotation/json_annotation.dart';
78

89
part 'api_response.g.dart';

samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/lib/src/model/array_of_array_of_number_only.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
//
44

55
// ignore_for_file: unused_element
6+
import 'package:copy_with_extension/copy_with_extension.dart';
67
import 'package:json_annotation/json_annotation.dart';
78

89
part 'array_of_array_of_number_only.g.dart';

samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/lib/src/model/array_of_number_only.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
//
44

55
// ignore_for_file: unused_element
6+
import 'package:copy_with_extension/copy_with_extension.dart';
67
import 'package:json_annotation/json_annotation.dart';
78

89
part 'array_of_number_only.g.dart';

samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/lib/src/model/array_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
// ignore_for_file: unused_element
66
import 'package:openapi/src/model/read_only_first.dart';
7+
import 'package:copy_with_extension/copy_with_extension.dart';
78
import 'package:json_annotation/json_annotation.dart';
89

910
part 'array_test.g.dart';

samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/lib/src/model/capitalization.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
//
44

55
// ignore_for_file: unused_element
6+
import 'package:copy_with_extension/copy_with_extension.dart';
67
import 'package:json_annotation/json_annotation.dart';
78

89
part 'capitalization.g.dart';

samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/lib/src/model/cat.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
// ignore_for_file: unused_element
66
import 'package:openapi/src/model/animal.dart';
7+
import 'package:copy_with_extension/copy_with_extension.dart';
78
import 'package:json_annotation/json_annotation.dart';
89

910
part 'cat.g.dart';

0 commit comments

Comments
 (0)