SlugifyResponse class

Response models for the Slugify API. API Response wrapper.

Constructors

SlugifyResponse({required String status, dynamic error, SlugifyData? data, PremiumInfo? premium})
SlugifyResponse.fromJson(Map<String, dynamic> json)
factory

Properties

data → SlugifyData?
final
error → dynamic
final
hashCode → int
The hash code for this object.
no setterinherited
premium → PremiumInfo?
Set only when the current plan locks one or more fields; null otherwise.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String
final

Methods

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

Operators

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