jsonKey property

String get jsonKey

Key to use for JSON serialization/deserialization.

This will be the _jsonKeyOverride if set, with fallback to the name

Implementation

String get jsonKey => _jsonKeyOverride ?? name;