dart_westminster_standards 0.0.3
dart_westminster_standards: ^0.0.3 copied to clipboard
A Dart package providing the Westminster Confession of Faith, Shorter Catechism, and Larger Catechism with proof texts.
0.0.3 #
- Added lazy load functions that automatically initialize data when needed:
loadWestminsterConfessionLazy()- Auto-initializes and returns confession dataloadWestminsterShorterCatechismLazy()- Auto-initializes and returns shorter catechism dataloadWestminsterLargerCatechismLazy()- Auto-initializes and returns larger catechism dataloadWestminsterShorterCatechismQuestionLazy()- Auto-initializes and returns specific questionloadWestminsterLargerCatechismQuestionLazy()- Auto-initializes and returns specific questionloadWestminsterConfessionChapterLazy()- Auto-initializes and returns specific chapter
0.0.2 #
- Breaking change: Made get methods synchronous and assume initialization
getWestminsterConfession()is now synchronousgetWestminsterShorterCatechism()is now synchronousgetWestminsterLargerCatechism()is now synchronousloadWestminsterShorterCatechismQuestion()is now synchronousloadWestminsterLargerCatechismQuestion()is now synchronousloadWestminsterConfessionChapter()is now synchronous- These methods now assume data has been initialized and will throw if not
0.0.1 #
- Initial release with Westminster Confession of Faith, Shorter Catechism, and Larger Catechism
- Support for loading complete documents as JSON or Dart objects
- Clause-specific proof texts for precise theological references
- Added functions to load individual items:
loadWestminsterShorterCatechismQuestion(int questionNumber)- Load specific question from Shorter CatechismloadWestminsterLargerCatechismQuestion(int questionNumber)- Load specific question from Larger CatechismloadWestminsterConfessionChapter(int chapterNumber)- Load specific chapter from Confession
- Performance improvements:
- Added
initializeWestminsterStandards()for one-time initialization - Added
isInitializedgetter to check initialization status - Added efficient
get*functions that use cached data:getWestminsterConfession()- Get all chapters (cached)getWestminsterShorterCatechism()- Get all questions (cached)getWestminsterLargerCatechism()- Get all questions (cached)
- Individual loading functions now use cached data automatically
- Original
load*functions maintained for backward compatibility
- Added