Version.fromJson constructor
Version.fromJson(
- Map _json
Implementation
Version.fromJson(core.Map _json)
: this(
epoch: _json.containsKey('epoch') ? _json['epoch'] as core.int : null,
fullName: _json.containsKey('fullName')
? _json['fullName'] as core.String
: null,
inclusive: _json.containsKey('inclusive')
? _json['inclusive'] as core.bool
: null,
kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
name: _json.containsKey('name') ? _json['name'] as core.String : null,
revision: _json.containsKey('revision')
? _json['revision'] as core.String
: null,
);