LifecyclePolicy.fromJson constructor

LifecyclePolicy.fromJson(
  1. Map json_
)

Implementation

LifecyclePolicy.fromJson(core.Map json_)
    : this(
        action: json_.containsKey('action')
            ? json_['action'] as core.String
            : null,
        actionCondition: json_.containsKey('actionCondition')
            ? ActionCondition.fromJson(json_['actionCondition']
                as core.Map<core.String, core.dynamic>)
            : null,
      );