toJson method

Map<String, dynamic> toJson()

Implementation

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