ReportStateAndNotificationRequest.fromJson constructor
ReportStateAndNotificationRequest.fromJson(
- Map json_
Implementation
ReportStateAndNotificationRequest.fromJson(core.Map json_)
: this(
agentUserId: json_['agentUserId'] as core.String?,
eventId: json_['eventId'] as core.String?,
followUpToken: json_['followUpToken'] as core.String?,
payload: json_.containsKey('payload')
? StateAndNotificationPayload.fromJson(
json_['payload'] as core.Map<core.String, core.dynamic>)
: null,
requestId: json_['requestId'] as core.String?,
);