UserPassword.fromJson constructor

UserPassword.fromJson(
  1. Map json_
)

Implementation

UserPassword.fromJson(core.Map json_)
    : this(
        password: json_.containsKey('password')
            ? Secret.fromJson(
                json_['password'] as core.Map<core.String, core.dynamic>)
            : null,
        username: json_.containsKey('username')
            ? json_['username'] as core.String
            : null,
      );