Platform.fromJson constructor

Platform.fromJson(
  1. Map json_
)

Implementation

Platform.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        platformType: json_.containsKey('platformType')
            ? json_['platformType'] as core.String
            : null,
      );