AuthorizationProvider.fromJson constructor Null safety

AuthorizationProvider.fromJson(
  1. Map<String, dynamic> json
)

Alternate constructor that creates an AuthorizationProvider from a json.

Params:

  • json: contains the source for instance creation.

Implementation

factory AuthorizationProvider.fromJson(Map<String, dynamic> json) {
  return const AuthorizationProviderConverter().fromJson(json);
}