serialize method

dynamic serialize()

Implementation

dynamic serialize() => {
      'platformCode': platformCode,
      'alt': alt,
      'shift': shift,
      'meta': meta,
      'control': control,
    };