ADAPoolMetadataResponse.fromJson constructor

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

Implementation

factory ADAPoolMetadataResponse.fromJson(Map<String, dynamic> json) {
  return ADAPoolMetadataResponse(
    poolId: json['pool_id'],
    hex: json['hex'],
    url: json['url'],
    hash: json['hash'],
    ticker: json['ticker'],
    name: json['name'],
    description: json['description'],
    homepage: json['homepage'],
  );
}