SuitePlatform.deserialize constructor

SuitePlatform.deserialize(
  1. 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']),
      os: OperatingSystem.find(map['os'] as String),
      inGoogle: map['inGoogle'] as bool);
}