SubscriptionCancelSurveyResult.fromJson constructor

SubscriptionCancelSurveyResult.fromJson(
  1. Map json_
)

Implementation

SubscriptionCancelSurveyResult.fromJson(core.Map json_)
    : this(
        cancelSurveyReason: json_.containsKey('cancelSurveyReason')
            ? json_['cancelSurveyReason'] as core.int
            : null,
        userInputCancelReason: json_.containsKey('userInputCancelReason')
            ? json_['userInputCancelReason'] as core.String
            : null,
      );