fromJson static method
Implementation
static ComponentDirection? fromJson(Object? value) => switch (value) {
'ltr' => ComponentDirection.ltr,
'rtl' => ComponentDirection.rtl,
_ => null,
};
static ComponentDirection? fromJson(Object? value) => switch (value) {
'ltr' => ComponentDirection.ltr,
'rtl' => ComponentDirection.rtl,
_ => null,
};