OEmbedEndpoint class
Represents an OEmbed endpoint.
Constructors
-
OEmbedEndpoint(Uri url, List<
String> schemes) -
Constructs an OEmbedEndpoint with the given
url
andschemes
. -
OEmbedEndpoint.fromJson(Map<
String, dynamic> json) -
Constructs an OEmbedEndpoint from a JSON object.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schemes
↔ List<
String> -
The list of wildcard schemes accepted by this Endpoint.
getter/setter pair
- url ↔ Uri
-
The URL for get oEmbed response.
getter/setter pair
Methods
-
getOEmbedData(
Uri url) → Future< OEmbedData?> - Retrieves OEmbed data for a given URL.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this OEmbedEndpoint to a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited