Ownership.fromJson constructor

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

Implementation

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