read method

  1. @override
Color read(
  1. BinaryReader reader
)
override

Is called when a value has to be decoded.

Implementation

@override
Color read(BinaryReader reader) => Color(reader.readInt());