BucketAutoclass.fromJson constructor

BucketAutoclass.fromJson(
  1. Map json_
)

Implementation

BucketAutoclass.fromJson(core.Map json_)
    : this(
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        terminalStorageClass: json_.containsKey('terminalStorageClass')
            ? json_['terminalStorageClass'] as core.String
            : null,
        terminalStorageClassUpdateTime:
            json_.containsKey('terminalStorageClassUpdateTime')
                ? core.DateTime.parse(
                    json_['terminalStorageClassUpdateTime'] as core.String)
                : null,
        toggleTime: json_.containsKey('toggleTime')
            ? core.DateTime.parse(json_['toggleTime'] as core.String)
            : null,
      );