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,
      );