ApiDefinition class

Data model for API definitions stored in Firestore

Constructors

ApiDefinition({required String key, required String service, required String requestType, required String endpoint, required Map<String, dynamic> headers, required Map<String, dynamic> params})
ApiDefinition.fromMap(Map<String, dynamic> map)
factory

Properties

endpoint → String
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, dynamic>
final
key → String
final
params → Map<String, dynamic>
final
requestType → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
service → String
final

Methods

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

Operators

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