parseBoxFit function

BoxFit? parseBoxFit(
  1. String? string
)

Implementation

BoxFit? parseBoxFit(String? string) {
  BoxFit? rst;
  BoxFit.values.forEach((element) {
    if (string == element.toJson()) {
      rst = element;
    }
  });
  return rst;
}