Credentials.fromJson constructor

Credentials.fromJson(
  1. Map json_
)

Implementation

Credentials.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,
      );