fontFamily property

  1. @JsonKey.new(name: 'font_family')
String? get fontFamily
inherited

Font family setting from server. The backend emits snake_case font_family; without this JSONKey the generated parser would read fontFamily and always get null, silently falling back to 'Roboto' no matter what font the tenant configured.

Implementation

@JsonKey(name: 'supported_locales') List<String> get supportedLocales;/// Font family setting from server. The backend emits snake_case
/// `font_family`; without this JSONKey the generated parser would read
/// `fontFamily` and always get null, silently falling back to 'Roboto'
/// no matter what font the tenant configured.
// ignore: invalid_annotation_target
@JsonKey(name: 'font_family') String? get fontFamily;