fromValue static method
Returns the consent status associated with the specified value.
Implementation
static ConsentStatus fromValue(int value, bool isAndroid) => values.firstWhere((status) => (isAndroid ? status.androidValue : status.iosValue) == value);