characterbook_file_formats 1.0.0
characterbook_file_formats: ^1.0.0 copied to clipboard
A pure Dart library for reading and writing CharacterBook file formats (.character, .race, .chax) and JSON.
1.0.0 #
- Initial stable release.
- Core models:
Character,Race,QuestionnaireTemplate,Relationship,Note,Folder,CustomField. - JSON serialization and deserialization for all models (
toJson()/fromJson()). copyWith()methods for immutable updates.- Equality and hash code overrides.
- File parser utility
CharacterBookFileParser:- Automatic detection of file type (
.character,.race,.chax) from JSON content. - Convenient
readFile()andwriteFile()methods. toJsonString()for manual JSON conversion.
- Automatic detection of file type (
- Pure Dart – no Flutter or Hive dependencies.
- Comprehensive unit tests included.