factory S3Source.fromJson(Map<String, dynamic> json) { return S3Source( bucketName: json['bucketName'] as String, key: json['key'] as String, version: json['version'] as String, ); }