WebToken.fromJson constructor

WebToken.fromJson(
  1. Map json_
)

Implementation

WebToken.fromJson(core.Map json_)
    : this(
        enabledFeatures: (json_['enabledFeatures'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        name: json_['name'] as core.String?,
        parentFrameUrl: json_['parentFrameUrl'] as core.String?,
        permissions: (json_['permissions'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        value: json_['value'] as core.String?,
      );