toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (denialCondition != null) 'denialCondition': denialCondition!,
      if (deniedPermissions != null) 'deniedPermissions': deniedPermissions!,
      if (deniedPrincipals != null) 'deniedPrincipals': deniedPrincipals!,
      if (exceptionPermissions != null)
        'exceptionPermissions': exceptionPermissions!,
      if (exceptionPrincipals != null)
        'exceptionPrincipals': exceptionPrincipals!,
    };