ReportStateAndNotificationDevice.fromJson constructor

ReportStateAndNotificationDevice.fromJson(
  1. Map json_
)

Implementation

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