decode static method

Notification decode(
  1. Object result
)

Implementation

static Notification decode(Object result) {
  result as List<Object?>;
  return Notification(
    title: result[0] as String?,
    body: result[1] as String?,
    channelId: result[2] as String?,
    imageUrl: result[3] as String?,
    color: result[4] as String?,
    icon: result[5] as String?,
    clickAction: result[6] as String?,
  );
}