fromValue static method

GravityType fromValue(
  1. int value
)

Implementation

static GravityType fromValue(int value) =>
    GravityType.values.firstWhere((e) => e.value == value);