History.fromJson constructor

History.fromJson(
  1. Map _json
)

Implementation

History.fromJson(core.Map _json)
    : this(
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        historyId: _json.containsKey('historyId')
            ? _json['historyId'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        testPlatform: _json.containsKey('testPlatform')
            ? _json['testPlatform'] as core.String
            : null,
      );