ContainerAccess.fromJson constructor

ContainerAccess.fromJson(
  1. Map json_
)

Implementation

ContainerAccess.fromJson(core.Map json_)
    : this(
        containerId: json_.containsKey('containerId')
            ? json_['containerId'] as core.String
            : null,
        permission: json_.containsKey('permission')
            ? (json_['permission'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );