AndroidRemoteNotification.fromJson constructor

AndroidRemoteNotification.fromJson(
  1. Map json_
)

Implementation

AndroidRemoteNotification.fromJson(core.Map json_)
  : this(
      mutableContent: json_['mutableContent'] as core.bool?,
      notification: json_.containsKey('notification')
          ? AndroidNotificationV2.fromJson(
              json_['notification'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      useAsV1DataMessage: json_['useAsV1DataMessage'] as core.bool?,
    );