serialize method

Object serialize()

Converts this into a JSON-safe object that can be converted back to a SuitePlatform using SuitePlatform.deserialize.

Implementation

Object serialize() => {
      'runtime': runtime.serialize(),
      'compiler': compiler.serialize(),
      'os': os.identifier,
      'inGoogle': inGoogle
    };