readable<T> static method
Creates a ReadableBeacon with an initial value.
This beacon allows only reading the value.
Example:
var myBeacon = Beacon.readable(15);
print(myBeacon.value); // Outputs: 15
Implementation
static ReadableBeacon<T> readable<T>(T initialValue) =>
ReadableBeacon<T>(initialValue);