GoalUrlDestinationDetails.fromJson constructor

GoalUrlDestinationDetails.fromJson(
  1. Map json_
)

Implementation

GoalUrlDestinationDetails.fromJson(core.Map json_)
    : this(
        caseSensitive: json_.containsKey('caseSensitive')
            ? json_['caseSensitive'] as core.bool
            : null,
        firstStepRequired: json_.containsKey('firstStepRequired')
            ? json_['firstStepRequired'] as core.bool
            : null,
        matchType: json_.containsKey('matchType')
            ? json_['matchType'] as core.String
            : null,
        steps: json_.containsKey('steps')
            ? (json_['steps'] as core.List)
                .map((value) => GoalUrlDestinationDetailsSteps.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );