PlatformContext.fromJson constructor

PlatformContext.fromJson(
  1. Map _json
)

Implementation

PlatformContext.fromJson(core.Map _json)
    : this(
        platforms: _json.containsKey('platforms')
            ? (_json['platforms'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
      );