Skip to content

[docs] Wrong docs for authorizationSecret deprecations #105

@kishormainali

Description

@kishormainali

init method is marked as deprecated instead of authorizationSecret property

current:

@Deprecated('[authorizationSecret] will be removed in next releases')
init(String applicationId, String authorizationKey, String authorizationSecret,
    {Future<CubeSession> Function()? onSessionRestore}) {}

this should be

init(
  String applicationId,
  String authorizationKey,
  @Deprecated('[authorizationSecret] will be removed in next releases')
  String authorizationSecret, {
  Future<CubeSession> Function()? onSessionRestore,
}) {}

its showing lint warning for init method

 'init' is deprecated and shouldn't be used. [authorizationSecret] will be removed in next releases. Try replacing the use of the deprecated member with the replacement. •
          deprecated_member_use

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions