toJson method
Implementation
@override
String? toJson(TabBarIndicatorSize? object) {
if (object == null) return null;
switch (object) {
case TabBarIndicatorSize.label:
return 'label';
case TabBarIndicatorSize.tab:
return 'tab';
}
}