fromCode static method

HKAuthorizationStatus fromCode(
  1. int code
)

Implementation

static HKAuthorizationStatus fromCode(int code) =>
    HKAuthorizationStatus.values.firstWhere((e) => e.code == code);