stadata_flutter_sdk library

STADATA Flutter SDK - Official Flutter SDK for BPS WebAPI

A comprehensive Flutter package that provides seamless access to the official API from Badan Pusat Statistik (BPS) Indonesia.

This SDK enables developers to integrate statistical data from BPS into their Flutter applications with a clean, type-safe interface.

Classes

CensusArea
Represents a geographical area covered by a census event
CensusCategory
Entity class representing a census data category.
CensusData
Entity class representing census data from BPS Web API.
CensusDataset
Represents a dataset within a census event topic
CensusEvent
Entity class representing a census activity/event from BPS Web API.
CensusTopic
Represents a census topic/subject from BPS Web API.
ClassificationLevel
ClassificationType
DomainEntity
Dart class representation of BPS Statistics Domain
Infographic
A data class representing an infographic.
ListResult<T>
Represents a result containing a list of data items of type T along with optional pagination information.
News
Represents news data, including its unique identifier, category, title, content, release date, picture, and type.
NewsCategory
Represents a news category, including its unique identifier and name.
PressRelease
A class representing a Press Release entity.
Publication
Dart class representation of BPS Statistics Publication
StadataFlutter
Main entry point for the STADATA Flutter SDK.
StaticTable
Represents a static table data structure.
StatisticClassification
Represents a statistical classification entity. This class corresponds to the API data for statistical classifications.
StrategicIndicator
Represents a Strategic Indicator retrieved from the BPS API.
Subject
Represents a Subject, including its id, name, category, and nTable
SubjectCategory
Represents a Subject Category, including its unique identifier and name.
UnitData
UnitData represents a data model for the units of measurement returned from the BPS (Badan Pusat Statistik) API endpoint for unit data.
Variable
Variable is a data entity class that represents a statistical variable from the Badan Pusat Statistik (BPS) API.
VerticalVariable
VerticalVariable is a data model class representing a vertical variable retrieved from the BPS (Badan Pusat Statistik) API endpoint.

Enums

DataAvailability
DataLanguage
An enum representing different data languages.
DomainType
Type of the domain you want to fetch
KBKILevel
An enumeration representing different classification levels of the Klasifikasi Baku Komoditas Indonesia (KBKI).
KBKIType
Represents different versions of the Klasifikasi Baku Komoditas Indonesia (KBKI), which is used for the standardized classification of commodities in Indonesia. Currently, only the 2015 version is available, but the structure allows for easy expansion to include future versions.
KBLILevel
KBLILevel enumerates levels of economic activity classification in the KBLI (Klasifikasi Baku Lapangan Usaha Indonesia), which structures business activities in Indonesia into a detailed hierarchy. This hierarchy aids in precise identification and categorization of business functions for statistical analysis and policy development.
KBLIType
Represents different versions of the Klasifikasi Baku Lapangan Usaha Indonesia (KBLI), which is used for the standardized classification of business fields in Indonesia. This enum facilitates the management of data across different KBLI releases, including years 2009, 2015, 2017, and 2020.