GoalEventDetails.fromJson constructor

GoalEventDetails.fromJson(
  1. Map _json
)

Implementation

GoalEventDetails.fromJson(core.Map _json) {
  if (_json.containsKey("eventConditions")) {
    eventConditions = (_json["eventConditions"] as core.List)
        .map<GoalEventDetailsEventConditions>(
            (value) => new GoalEventDetailsEventConditions.fromJson(value))
        .toList();
  }
  if (_json.containsKey("useEventValue")) {
    useEventValue = _json["useEventValue"];
  }
}