toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final endpointUri = this.endpointUri;
  final serviceAccessRoleArn = this.serviceAccessRoleArn;
  final errorRetryDuration = this.errorRetryDuration;
  final fullLoadErrorPercentage = this.fullLoadErrorPercentage;
  return {
    'EndpointUri': endpointUri,
    'ServiceAccessRoleArn': serviceAccessRoleArn,
    if (errorRetryDuration != null) 'ErrorRetryDuration': errorRetryDuration,
    if (fullLoadErrorPercentage != null)
      'FullLoadErrorPercentage': fullLoadErrorPercentage,
  };
}