toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowAll != null) 'allowAll': allowAll!,
      if (condition != null) 'condition': condition!,
      if (conditionEvaluation != null)
        'conditionEvaluation': conditionEvaluation!,
      if (denyAll != null) 'denyAll': denyAll!,
      if (enforce != null) 'enforce': enforce!,
      if (values != null) 'values': values!,
    };