StateAndNotificationPayload.fromJson constructor

StateAndNotificationPayload.fromJson(
  1. Map json_
)

Implementation

StateAndNotificationPayload.fromJson(core.Map json_)
  : this(
      devices: json_.containsKey('devices')
          ? ReportStateAndNotificationDevice.fromJson(
              json_['devices'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );