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((value) => value as core.String)
                .toList()
            : null,
      );