From b8377ceabc9f5278ae67607077ad797bd289d0e4 Mon Sep 17 00:00:00 2001 From: Rapougnac Date: Tue, 12 Sep 2023 11:56:48 +0200 Subject: [PATCH] format --- lib/src/embed_builder.dart | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/src/embed_builder.dart b/lib/src/embed_builder.dart index e7334b4..1cc7db7 100644 --- a/lib/src/embed_builder.dart +++ b/lib/src/embed_builder.dart @@ -20,8 +20,7 @@ extension EmbedExtension on Embed { extension on EmbedAuthor? { EmbedAuthorBuilder? _toEmbedAuthorBuilder() { return switch (this) { - EmbedAuthor(:final name, :final iconUrl?, :final url?) => - EmbedAuthorBuilder( + EmbedAuthor(:final name, :final iconUrl?, :final url?) => EmbedAuthorBuilder( name: name, iconUrl: iconUrl, url: url, @@ -32,8 +31,7 @@ extension on EmbedAuthor? { } extension on EmbedField { - EmbedFieldBuilder _toEmbedFieldBuilder() => - EmbedFieldBuilder(name: name, value: value, isInline: inline); + EmbedFieldBuilder _toEmbedFieldBuilder() => EmbedFieldBuilder(name: name, value: value, isInline: inline); } extension on EmbedFooter? {