decode static method

RollaBandHRVSyncResponse decode(
  1. Object result
)

Implementation

static RollaBandHRVSyncResponse decode(Object result) {
  result as List<Object?>;
  return RollaBandHRVSyncResponse(
    hrvs: (result[0] as List<Object?>?)!.cast<RollaBandHRV>(),
    lastSyncedBlockTimestamp: result[1]! as int,
  );
}