Skip to main content
Version: 0.7.1

Press Release

This method is used to retrieve detailed information about a specific press release.

Parameters

ParameterTypeDescription
idintThe unique identifier of the press release.
domainStringThe domain (region) code for retrieving press release detail.
langDataLanguageThe language for press release data (default: DataLanguage.id).

Example

Example usage and sample output:

Preview

// Fetch publication detail from BPS API
final pressRelease = await StadataFlutter.instance.view.pressRelease(id: 1234:, domain: '7200');

// Print the retrieved press release data
print('Press Release ID: ${pressRelease.id}');
print('Title: ${pressRelease.title}');
print('Abstract: ${pressRelease.abstract}');
print('Release Date: ${pressRelease.releaseDate}');
print('Cover: ${pressRelease.cover}');
print('File Size: ${pressRelease.size}');
print('PDF Url: ${pressRelease.pdf}');
print('Slide Url: ${pressRelease.slide}');
print('Updated At: ${pressRelease.updatedAt}');

Properties (PressRelease)

PropertyTypeDescription
idintThe unique identifier of the press release.
titleStringThe title of the press release.
subjectSubject?The optional subject of the press release.
sizeStringThe file size.
pdfStringA link or reference to the associated PDF file for the press release.
coverStringThe thumbnail of the press release.
abstractString?The abstract of the press release.
updatedAtDateTimeThe date and time when the table was last updated.
releaseDateDateTime?The optional date and time when the table was created.
slideStringA link or reference to the associated Slide file for the press release.