Source.fromJson constructor
Source.fromJson(
- Map json_
Implementation
Source.fromJson(core.Map json_)
: this(
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
errorFrameCount: json_.containsKey('errorFrameCount')
? json_['errorFrameCount'] as core.int
: null,
managed: json_.containsKey('managed')
? json_['managed'] as core.bool
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
pendingFrameCount: json_.containsKey('pendingFrameCount')
? json_['pendingFrameCount'] as core.int
: null,
priority: json_.containsKey('priority')
? json_['priority'] as core.int
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);