AddressTableLookup.fromJson constructor

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

Implementation

factory AddressTableLookup.fromJson(Map<String, dynamic> json) {
  return AddressTableLookup(
      accountKey: SolAddress.uncheckCurve(json["accountKey"]),
      writableIndexes: (json["writableIndexes"] as List).cast(),
      readonlyIndexes: (json["readonlyIndexes"] as List).cast());
}