MetadataOptions.fromJson constructor

MetadataOptions.fromJson(
  1. Map json_
)

Implementation

MetadataOptions.fromJson(core.Map json_)
    : this(
        acl: json_.containsKey('acl') ? json_['acl'] as core.String : null,
        gid: json_.containsKey('gid') ? json_['gid'] as core.String : null,
        kmsKey: json_.containsKey('kmsKey')
            ? json_['kmsKey'] as core.String
            : null,
        mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
        storageClass: json_.containsKey('storageClass')
            ? json_['storageClass'] as core.String
            : null,
        symlink: json_.containsKey('symlink')
            ? json_['symlink'] as core.String
            : null,
        temporaryHold: json_.containsKey('temporaryHold')
            ? json_['temporaryHold'] as core.String
            : null,
        timeCreated: json_.containsKey('timeCreated')
            ? json_['timeCreated'] as core.String
            : null,
        uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
      );