dartType property

Type get dartType

Gets the underlying Dart Type for the channel format.

Implementation

Type get dartType {
  switch (this) {
    case LSLChannelFormat.float32:
      return double;
    case LSLChannelFormat.double64:
      return double;
    case LSLChannelFormat.int8:
      return int;
    case LSLChannelFormat.int16:
      return int;
    case LSLChannelFormat.int32:
      return int;
    case LSLChannelFormat.int64:
      return int;
    case LSLChannelFormat.string:
      return String;
    case LSLChannelFormat.undefined:
      return Void;
  }
}