From b21a1778ee27fc965c6ba092da63582ce6563f75 Mon Sep 17 00:00:00 2001 From: Gibah Joseph Date: Tue, 16 Jan 2024 02:30:53 +0100 Subject: [PATCH] fix(annotation): fixed formatting --- example/lib/main.dart | 2 +- .../lib/src/openapi_generator_annotations_base.dart | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 424b8af..ab1dcc1 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -124,4 +124,4 @@ class _MyHomePageState extends State { ), // This trailing comma makes auto-formatting nicer for build methods. ); } -} \ No newline at end of file +} diff --git a/openapi-generator-annotations/lib/src/openapi_generator_annotations_base.dart b/openapi-generator-annotations/lib/src/openapi_generator_annotations_base.dart index 2ddc689..88d3924 100644 --- a/openapi-generator-annotations/lib/src/openapi_generator_annotations_base.dart +++ b/openapi-generator-annotations/lib/src/openapi_generator_annotations_base.dart @@ -153,8 +153,7 @@ class InputSpec { Map toJsonMap() => {'path': path}; - InputSpec.fromMap(Map map) - : this(path: map['path']); + InputSpec.fromMap(Map map) : this(path: map['path']); } /// Provides the location for the remote specification.