From 864adb44c5e300c4fee3b0a4180985b5de68113e Mon Sep 17 00:00:00 2001 From: Kha Truong <64438356+khatruong2009@users.noreply.github.com> Date: Mon, 27 Nov 2023 12:57:22 -0800 Subject: [PATCH] chore: ran dart format (#4192) --- .../lib/src/platform/macos_bindings.g.dart | 3 +-- .../lib/src/ffi/cupertino/security.bindings.g.dart | 5 ++--- ...quest_with_labels_and_timestamp_format_operation.dart | 9 ++++++--- ..._content_type_without_body_empty_input_operation.dart | 9 ++++++--- ...p_request_with_labels_and_timestamp_format_input.dart | 4 ++-- ...quest_with_labels_and_timestamp_format_operation.dart | 9 ++++++--- ...quest_with_labels_and_timestamp_format_operation.dart | 9 ++++++--- ..._content_type_without_body_empty_input_operation.dart | 9 ++++++--- ...p_request_with_labels_and_timestamp_format_input.dart | 4 ++-- ...quest_with_labels_and_timestamp_format_operation.dart | 9 ++++++--- 10 files changed, 43 insertions(+), 27 deletions(-) diff --git a/packages/auth/amplify_auth_cognito_dart/lib/src/platform/macos_bindings.g.dart b/packages/auth/amplify_auth_cognito_dart/lib/src/platform/macos_bindings.g.dart index 0e5b7a5840..8d0517291d 100644 --- a/packages/auth/amplify_auth_cognito_dart/lib/src/platform/macos_bindings.g.dart +++ b/packages/auth/amplify_auth_cognito_dart/lib/src/platform/macos_bindings.g.dart @@ -13583,8 +13583,7 @@ class ObjCBlock3 extends _ObjCBlockBase { ObjCBlock3.fromFunctionPointer( NativeMacOsFramework lib, ffi.Pointer< - ffi - .NativeFunction< + ffi.NativeFunction< ffi.Void Function(ffi.Pointer arg0, ffi.UnsignedLong arg1, ffi.Pointer arg2)>> ptr) diff --git a/packages/secure_storage/amplify_secure_storage_dart/lib/src/ffi/cupertino/security.bindings.g.dart b/packages/secure_storage/amplify_secure_storage_dart/lib/src/ffi/cupertino/security.bindings.g.dart index 0bee58b737..aa9b5ff321 100644 --- a/packages/secure_storage/amplify_secure_storage_dart/lib/src/ffi/cupertino/security.bindings.g.dart +++ b/packages/secure_storage/amplify_secure_storage_dart/lib/src/ffi/cupertino/security.bindings.g.dart @@ -268,9 +268,8 @@ class Security { } late final _SecItemDeletePtr = _lookup< - ffi - .NativeFunction>( - 'SecItemDelete'); + ffi.NativeFunction< + OSStatus Function(coreFoundation.CFDictionaryRef)>>('SecItemDelete'); late final _SecItemDelete = _SecItemDeletePtr.asFunction< int Function(coreFoundation.CFDictionaryRef)>(); } diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart index a508668626..9ce1d3f6d9 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart @@ -13,9 +13,12 @@ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; /// The example tests how requests serialize different timestamp formats in the URI path. -class HttpRequestWithLabelsAndTimestampFormatOperation extends _i1 - .HttpOperation { +class HttpRequestWithLabelsAndTimestampFormatOperation + extends _i1.HttpOperation< + HttpRequestWithLabelsAndTimestampFormatInputPayload, + HttpRequestWithLabelsAndTimestampFormatInput, + _i1.Unit, + _i1.Unit> { /// The example tests how requests serialize different timestamp formats in the URI path. HttpRequestWithLabelsAndTimestampFormatOperation({ required String region, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart index 55973905f8..4d9e18c370 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart @@ -12,9 +12,12 @@ import 'package:rest_json1_v1/src/rest_json_protocol/model/malformed_content_typ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; -class MalformedContentTypeWithoutBodyEmptyInputOperation extends _i1 - .HttpOperation { +class MalformedContentTypeWithoutBodyEmptyInputOperation + extends _i1.HttpOperation< + MalformedContentTypeWithoutBodyEmptyInputInputPayload, + MalformedContentTypeWithoutBodyEmptyInputInput, + _i1.Unit, + _i1.Unit> { MalformedContentTypeWithoutBodyEmptyInputOperation({ required String region, Uri? baseUri, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart index 2922960a57..19c8b6fed4 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart @@ -220,8 +220,8 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInputPayload } } -class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer extends _i1 - .StructuredSmithySerializer< +class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer + extends _i1.StructuredSmithySerializer< HttpRequestWithLabelsAndTimestampFormatInputPayload> { const HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer() : super('HttpRequestWithLabelsAndTimestampFormatInput'); diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart index 5530c71240..98f83e1713 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart @@ -13,9 +13,12 @@ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; /// The example tests how requests serialize different timestamp formats in the URI path. -class HttpRequestWithLabelsAndTimestampFormatOperation extends _i1 - .HttpOperation { +class HttpRequestWithLabelsAndTimestampFormatOperation + extends _i1.HttpOperation< + HttpRequestWithLabelsAndTimestampFormatInputPayload, + HttpRequestWithLabelsAndTimestampFormatInput, + _i1.Unit, + _i1.Unit> { /// The example tests how requests serialize different timestamp formats in the URI path. HttpRequestWithLabelsAndTimestampFormatOperation({ required String region, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart index adae751aaa..ad19fc95a1 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart @@ -13,9 +13,12 @@ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; /// The example tests how requests serialize different timestamp formats in the URI path. -class HttpRequestWithLabelsAndTimestampFormatOperation extends _i1 - .HttpOperation { +class HttpRequestWithLabelsAndTimestampFormatOperation + extends _i1.HttpOperation< + HttpRequestWithLabelsAndTimestampFormatInputPayload, + HttpRequestWithLabelsAndTimestampFormatInput, + _i1.Unit, + _i1.Unit> { /// The example tests how requests serialize different timestamp formats in the URI path. HttpRequestWithLabelsAndTimestampFormatOperation({ required String region, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart index 2fdee11cb8..ef973a62b4 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart @@ -12,9 +12,12 @@ import 'package:rest_json1_v2/src/rest_json_protocol/model/malformed_content_typ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; -class MalformedContentTypeWithoutBodyEmptyInputOperation extends _i1 - .HttpOperation { +class MalformedContentTypeWithoutBodyEmptyInputOperation + extends _i1.HttpOperation< + MalformedContentTypeWithoutBodyEmptyInputInputPayload, + MalformedContentTypeWithoutBodyEmptyInputInput, + _i1.Unit, + _i1.Unit> { MalformedContentTypeWithoutBodyEmptyInputOperation({ required String region, Uri? baseUri, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart index 1710584132..2b14078c3a 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart @@ -220,8 +220,8 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInputPayload } } -class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer extends _i1 - .StructuredSmithySerializer< +class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer + extends _i1.StructuredSmithySerializer< HttpRequestWithLabelsAndTimestampFormatInputPayload> { const HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer() : super('HttpRequestWithLabelsAndTimestampFormatInput'); diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart index bb609b4d9b..3c8e80eb48 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart @@ -13,9 +13,12 @@ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; /// The example tests how requests serialize different timestamp formats in the URI path. -class HttpRequestWithLabelsAndTimestampFormatOperation extends _i1 - .HttpOperation { +class HttpRequestWithLabelsAndTimestampFormatOperation + extends _i1.HttpOperation< + HttpRequestWithLabelsAndTimestampFormatInputPayload, + HttpRequestWithLabelsAndTimestampFormatInput, + _i1.Unit, + _i1.Unit> { /// The example tests how requests serialize different timestamp formats in the URI path. HttpRequestWithLabelsAndTimestampFormatOperation({ required String region,