fromJson static method

RTSchemaUIType fromJson(
  1. String? value
)

Implementation

static RTSchemaUIType fromJson(String? value) {
  return RTSchemaUIType.values.firstWhere(
    (e) => e.value == value,
    orElse: () => RTSchemaUIType.none,
  );
}