S3DestinationSettings.fromJson constructor

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

Implementation

factory S3DestinationSettings.fromJson(Map<String, dynamic> json) {
  return S3DestinationSettings(
    accessControl: json['accessControl'] != null
        ? S3DestinationAccessControl.fromJson(
            json['accessControl'] as Map<String, dynamic>)
        : null,
    encryption: json['encryption'] != null
        ? S3EncryptionSettings.fromJson(
            json['encryption'] as Map<String, dynamic>)
        : null,
  );
}