decode static method

Implementation

static AggregationIntervalPigeon decode(Object result) {
  result as List<Object?>;
  return AggregationIntervalPigeon(
    seconds: result[0]! as int,
    aggregation: result[1]! as AggregationPigeon,
  );
}