BasicAuthentication.fromJson constructor

BasicAuthentication.fromJson(
  1. Map json_
)

Implementation

BasicAuthentication.fromJson(core.Map json_)
    : this(
        password: json_.containsKey('password')
            ? json_['password'] as core.String
            : null,
        username: json_.containsKey('username')
            ? json_['username'] as core.String
            : null,
      );