decode static method

SuccessInvoice decode(
  1. Object result
)

Implementation

static SuccessInvoice decode(Object result) {
  result as List<Object?>;
  return SuccessInvoice(
    invoiceId: result[0]! as String,
    finishCode: result[1]! as String,
  );
}