ReportStateAndNotificationResponse.fromJson constructor

ReportStateAndNotificationResponse.fromJson(
  1. Map json_
)

Implementation

ReportStateAndNotificationResponse.fromJson(core.Map json_)
  : this(
      deviceResults:
          (json_['deviceResults'] as core.Map<core.String, core.dynamic>?)
              ?.map(
                (key, value) => core.MapEntry(
                  key,
                  Result.fromJson(
                    value as core.Map<core.String, core.dynamic>,
                  ),
                ),
              ),
      requestId: json_['requestId'] as core.String?,
    );