YarnApplication.fromJson constructor
YarnApplication.fromJson(
- Map json_
Implementation
YarnApplication.fromJson(core.Map json_)
: this(
name: json_.containsKey('name') ? json_['name'] as core.String : null,
progress: json_.containsKey('progress')
? (json_['progress'] as core.num).toDouble()
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
trackingUrl: json_.containsKey('trackingUrl')
? json_['trackingUrl'] as core.String
: null,
);