decode static method
Implementation
static RemoteMessage decode(Object result) {
result as List<Object?>;
return RemoteMessage(
notification: result[0] != null
? Notification.decode(result[0]! as List<Object?>)
: null,
data: (result[1] as Map<Object?, Object?>?)?.cast<String?, Object?>(),
);
}