ObjectRetention.fromJson constructor

ObjectRetention.fromJson(
  1. Map json_
)

Implementation

ObjectRetention.fromJson(core.Map json_)
    : this(
        mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
        retainUntilTime: json_.containsKey('retainUntilTime')
            ? core.DateTime.parse(json_['retainUntilTime'] as core.String)
            : null,
      );