GoalEventDetails.fromJson constructor

GoalEventDetails.fromJson(
  1. Map json_
)

Implementation

GoalEventDetails.fromJson(core.Map json_)
    : this(
        eventConditions: json_.containsKey('eventConditions')
            ? (json_['eventConditions'] as core.List)
                .map((value) => GoalEventDetailsEventConditions.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        useEventValue: json_.containsKey('useEventValue')
            ? json_['useEventValue'] as core.bool
            : null,
      );