InventoryWindowsApplication.fromJson constructor

InventoryWindowsApplication.fromJson(
  1. Map _json
)

Implementation

InventoryWindowsApplication.fromJson(core.Map _json)
    : this(
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        displayVersion: _json.containsKey('displayVersion')
            ? _json['displayVersion'] as core.String
            : null,
        helpLink: _json.containsKey('helpLink')
            ? _json['helpLink'] as core.String
            : null,
        installDate: _json.containsKey('installDate')
            ? Date.fromJson(
                _json['installDate'] as core.Map<core.String, core.dynamic>)
            : null,
        publisher: _json.containsKey('publisher')
            ? _json['publisher'] as core.String
            : null,
      );