fromJson static method

IndexUnitEnum? fromJson(
  1. dynamic value
)

Returns the instance of IndexUnitEnum that was successfully decoded from the passed value on success, null otherwise.

Implementation

static IndexUnitEnum? fromJson(dynamic value) => IndexUnitEnumTypeTransformer().decode(value);