S3Target.fromJson constructor

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

Implementation

factory S3Target.fromJson(Map<String, dynamic> json) {
  return S3Target(
    connectionName: json['ConnectionName'] as String?,
    exclusions: (json['Exclusions'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    path: json['Path'] as String?,
  );
}