OwesMoneyApi class
DO NOT EDIT THIS FILE. TO ADJUST THIS CLASS, USE OwesMoneyApiMixin
The final API is constructed by:
- taking the
OwesMoneyApiBase
class - applying a mixin
OwesMoneyApiMixin
] (which allows us to inject other convenience functions) The mixin lives outside of the code generator, so it's used to do any manual tweaking - Applying the
SignalingApiMixin
, so events automatically propagate
- Inheritance
-
- Object
- Repository<
IOwesMoney> - SunnyApi<
IOwesMoney> - OwesMoneyApi
- Implemented types
- Mixed in types
-
- SignalingApiMixin<
IOwesMoney>
- SignalingApiMixin<
Constructors
- OwesMoneyApi(ApiClient apiClient, ApiRegistry apis)
Properties
Methods
-
clone(
IOwesMoney source) → IOwesMoney -
Copies values from one entity into another. This clone operation is important because it allows
inherited
-
create(
IOwesMoney owesMoney) → Future< IOwesMoney> -
override
-
delete(
String id) → Future< DeleteResponse> -
override
-
initialize(
IOwesMoney entity) → IOwesMoney -
inherited
-
instantiate(
[dynamic json]) → IOwesMoney -
inherited
-
keyToId(
MKey? key) → String? -
inherited
-
list(
{double? limit, double? offset}) → Future< IOwesMoneyList> -
override
-
load(
String id) → Future< IOwesMoney> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
takeFrom(
IOwesMoney source, IOwesMoney target) → void -
Copies all data from
source
intotarget
. Used when you want to maintain a reference totarget
, but want to inject new values fromsource
inherited -
toString(
) → String -
A string representation of this object.
inherited
-
update(
String id, IOwesMoney owesMoney) → Future< ChangeResult> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited