FileAttributes.from constructor

FileAttributes.from(
  1. int value
)

Implementation

factory FileAttributes.from(int value) => FileAttributes.values
    .firstWhere((e) => e.value == value, orElse: () => FileAttributes(value));