Plans class

Inheritance

Constructors

Plans(IuguClient client)

Properties

apiResource APIResource
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create({required PlanRequestMessage plan, String customApiToken = ''}) Future<PlanModel>
Cria um Plano possibilitando enviar um ApiToken customizado
delete(String id, String customApiToken) Future<PlanModel>
dispose() → void
Disposes controllers, streams, etc.
override
get({required String id, String customApiToken = ''}) Future<PlanModel>
getAll({String customApiToken = '', String filter = "?limit=1000"}) Future<PaggedResponseMessage<PlanModel>>
getByIdentifier({required String planIdentifier, String customApiToken = ''}) Future<PlanModel>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(String id, PlanModel model) Future<PlanModel>
toString() String
A string representation of this object.
inherited

Operators

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