Input$AwsS3Input.fromJson constructor

Input$AwsS3Input.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory Input$AwsS3Input.fromJson(Map<String, dynamic> data) {
  final result$data = <String, dynamic>{};
  if (data.containsKey('region')) {
    final l$region = data['region'];
    result$data['region'] = (l$region as String?);
  }
  if (data.containsKey('credentials')) {
    final l$credentials = data['credentials'];
    result$data['credentials'] = l$credentials == null
        ? null
        : Input$AwsS3CredentialsInput.fromJson(
            (l$credentials as Map<String, dynamic>));
  }
  return Input$AwsS3Input._(result$data);
}