$MobileApp.fromJson constructor Null safety

$MobileApp.fromJson(
  1. Map _json
)

Implementation

$MobileApp.fromJson(core.Map _json)
    : this(
        directory: _json.containsKey('directory')
            ? _json['directory'] as core.String
            : null,
        id: _json.containsKey('id') ? _json['id'] as core.String : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        publisherName: _json.containsKey('publisherName')
            ? _json['publisherName'] as core.String
            : null,
        title:
            _json.containsKey('title') ? _json['title'] as core.String : null,
      );