fromValue static method

StyleFormat fromValue(
  1. int value
)

Implementation

static StyleFormat fromValue(int value) =>
    StyleFormat.values.firstWhere((e) => e.value == value, orElse: () => StyleFormat.values.first);