toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (maxAge != null) 'maxAge': maxAge!,
      if (method != null) 'method': method!,
      if (policyType != null) 'policyType': policyType!,
    };