Embed class

Constructors

Embed({String? title, EmbedType? type, String? description, String? url, String? timestamp, int? color, EmbedFooter? footer, EmbedImage? image, EmbedThumbnail? thumbnail, EmbedVideo? video, EmbedProvider? provider, EmbedAuthor? author, List<EmbedField>? fields})

Properties

author EmbedAuthor?
final
color int?
final
description String?
final
fields List<EmbedField>?
final
final
hashCode int
The hash code for this object.
no setterinherited
image EmbedImage?
final
provider EmbedProvider?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbnail EmbedThumbnail?
final
timestamp String?
final
title String?
final
type EmbedType?
final
url String?
final
video EmbedVideo?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(Map<String, dynamic> json) Embed