NeptuneSettings.fromJson constructor

NeptuneSettings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory NeptuneSettings.fromJson(Map<String, dynamic> json) {
  return NeptuneSettings(
    s3BucketFolder: json['S3BucketFolder'] as String,
    s3BucketName: json['S3BucketName'] as String,
    errorRetryDuration: json['ErrorRetryDuration'] as int?,
    iamAuthEnabled: json['IamAuthEnabled'] as bool?,
    maxFileSize: json['MaxFileSize'] as int?,
    maxRetryCount: json['MaxRetryCount'] as int?,
    serviceAccessRoleArn: json['ServiceAccessRoleArn'] as String?,
  );
}