fromName static method

AdFormat fromName(
  1. String name
)

Implementation

static AdFormat fromName(String name) => AdFormat.values.firstWhere((element) => element.name == name);