fromValue static method

PMOhosAlbumType? fromValue(
  1. int? value
)

Implementation

static PMOhosAlbumType? fromValue(int? value) {
  switch (value) {
    case 0:
      return PMOhosAlbumType.user;
    case 1024:
      return PMOhosAlbumType.system;
  }

  return null;
}