decode static method
Implementation
static SubscriptionPeriod decode(Object result) {
result as List<Object?>;
return SubscriptionPeriod(
years: result[0]! as int,
months: result[1]! as int,
days: result[2]! as int,
);
}
static SubscriptionPeriod decode(Object result) {
result as List<Object?>;
return SubscriptionPeriod(
years: result[0]! as int,
months: result[1]! as int,
days: result[2]! as int,
);
}