factory S3.fromJson(Map<String, dynamic> json) { return S3( enabled: json['enabled'] as bool, bucket: json['bucket'] as String?, prefix: json['prefix'] as String?, ); }