toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final allowAuthorizerOverride = this.allowAuthorizerOverride;
  final defaultAuthorizerName = this.defaultAuthorizerName;
  return {
    if (allowAuthorizerOverride != null)
      'allowAuthorizerOverride': allowAuthorizerOverride,
    if (defaultAuthorizerName != null)
      'defaultAuthorizerName': defaultAuthorizerName,
  };
}