decode static method

PushReceivedEventDto decode(
  1. Object result
)

Implementation

static PushReceivedEventDto decode(Object result) {
  result as List<Object?>;
  return PushReceivedEventDto(
    title: result[0]! as String,
    body: result[1]! as String,
    pushLogId: result[2] as String?,
    data: (result[3]! as Map<Object?, Object?>).cast<String?, Object?>(),
    pyrxAttrs: (result[4] as Map<Object?, Object?>?)?.cast<String?, Object?>(),
    receivedAt: result[5]! as String,
  );
}