CreatePermissionRequest.fromJson constructor

CreatePermissionRequest.fromJson(
  1. Map json_
)

Implementation

CreatePermissionRequest.fromJson(core.Map json_)
    : this(
        parent: json_.containsKey('parent')
            ? json_['parent'] as core.String
            : null,
        permission: json_.containsKey('permission')
            ? Permission.fromJson(
                json_['permission'] as core.Map<core.String, core.dynamic>)
            : null,
      );