MetadataItems.fromJson constructor

MetadataItems.fromJson(
  1. Map json_
)

Implementation

MetadataItems.fromJson(core.Map json_)
    : this(
        downloadUrl: json_.containsKey('download_url')
            ? json_['download_url'] as core.String
            : null,
        encryptedKey: json_.containsKey('encrypted_key')
            ? json_['encrypted_key'] as core.String
            : null,
        language: json_.containsKey('language')
            ? json_['language'] as core.String
            : null,
        size: json_.containsKey('size') ? json_['size'] as core.String : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );