fromJson static method
Returns a new SignerPagination instance and imports its values from
json
if it's non-null, null if json
is null.
Implementation
static SignerPagination? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return SignerPagination(
limit: json[r'limit'],
page: json[r'page'],
pages: json[r'pages'],
total: json[r'total'],
links: PaginationLinks.fromJson(json[r'_links']),
embedded: SignerCollection.fromJson(json[r'_embedded']),
);
}