Keys.fromJson constructor

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

Implementation

factory Keys.fromJson(Map<String, dynamic> json) => Keys(
      authorizedKeys: json['authorizedKeys'] == null
          ? null
          : List<AuthorizedKey>.from(
              json['authorizedKeys'].map((x) => AuthorizedKey.fromJson(x))),
      secret: json['secret'],
    );