Apk.fromJson constructor

Apk.fromJson(
  1. Map _json
)

Implementation

Apk.fromJson(core.Map _json)
    : this(
        location: _json.containsKey('location')
            ? FileReference.fromJson(
                _json['location'] as core.Map<core.String, core.dynamic>)
            : null,
        packageName: _json.containsKey('packageName')
            ? _json['packageName'] as core.String
            : null,
      );