Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexedia committed Sep 12, 2023
1 parent 82e5a1c commit b8377ce
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/src/embed_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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? {
Expand Down

0 comments on commit b8377ce

Please sign in to comment.