SuitePlatform.deserialize constructor
SuitePlatform.deserialize(
- Object serialized
Converts a JSON-safe representation generated by serialize back into a SuitePlatform.
Implementation
factory SuitePlatform.deserialize(Object serialized) {
var map = serialized as Map;
return SuitePlatform(Runtime.deserialize(map['runtime'] as Object),
compiler: map.containsKey('compiler')
? Compiler.deserialize(map['compiler'] as Object)
: null,
os: OperatingSystem.find(map['os'] as String),
inGoogle: map['inGoogle'] as bool);
}