serialize method Null safety
Converts this into a JSON-safe object that can be converted back to a SuitePlatform using SuitePlatform.deserialize.
Implementation
Object serialize() => {
'runtime': runtime.serialize(),
'os': os.identifier,
'inGoogle': inGoogle
};