Skip to content

foamify/ldtk.dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LDtk parser for Dart programming language

Updating JSON schema

How to update:

  1. Copy the contents of LDtk json schema and paste to quicktype
  2. Quicktype settings:
    • Source type = JSON Schema,
    • Language = Dart,
    • Check 'Null Safety'
    • Check 'Put encoder & decoder in Class'
  3. In the generated dart code, find all !, and replace with ,
  4. Find json["cachedPixelData"]! and replace with json["cachedPixelData"] ?? <String, dynamic>{}

About

LDtk parser for Dart programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages