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,
        toggleTime: json_.containsKey('toggleTime')
            ? core.DateTime.parse(json_['toggleTime'] as core.String)
            : null,
      );