RequestMetadata.fromJson constructor
RequestMetadata.fromJson(
- Map json_
Implementation
RequestMetadata.fromJson(core.Map json_)
: this(
deviceInfo: json_.containsKey('deviceInfo')
? DeviceInfo.fromJson(
json_['deviceInfo'] as core.Map<core.String, core.dynamic>)
: null,
domain: json_.containsKey('domain')
? json_['domain'] as core.String
: null,
sessionId: json_.containsKey('sessionId')
? json_['sessionId'] as core.String
: null,
userId: json_.containsKey('userId')
? json_['userId'] as core.String
: null,
);