Version.fromJson constructor
Version.fromJson(
- Map _json
Implementation
Version.fromJson(core.Map _json)
: this(
description: _json.containsKey('description')
? _json['description'] as core.String
: null,
isLegacy: _json.containsKey('isLegacy')
? _json['isLegacy'] as core.bool
: null,
rollbackSource: _json.containsKey('rollbackSource')
? _json['rollbackSource'] as core.String
: null,
updateOrigin: _json.containsKey('updateOrigin')
? _json['updateOrigin'] as core.String
: null,
updateTime: _json.containsKey('updateTime')
? _json['updateTime'] as core.String
: null,
updateType: _json.containsKey('updateType')
? _json['updateType'] as core.String
: null,
updateUser: _json.containsKey('updateUser')
? RemoteConfigUser.fromJson(
_json['updateUser'] as core.Map<core.String, core.dynamic>)
: null,
versionNumber: _json.containsKey('versionNumber')
? _json['versionNumber'] as core.String
: null,
);