DeviceFile.fromJson constructor

DeviceFile.fromJson(
  1. Map _json
)

Implementation

DeviceFile.fromJson(core.Map _json)
    : this(
        obbFile: _json.containsKey('obbFile')
            ? ObbFile.fromJson(
                _json['obbFile'] as core.Map<core.String, core.dynamic>)
            : null,
        regularFile: _json.containsKey('regularFile')
            ? RegularFile.fromJson(
                _json['regularFile'] as core.Map<core.String, core.dynamic>)
            : null,
      );