AccountLookupKeys.fromJson constructor

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

Implementation

factory AccountLookupKeys.fromJson(Map<String, dynamic> json) {
  return AccountLookupKeys(
      readonly: (json["readonly"] as List)
          .map((e) => SolAddress.uncheckCurve(e))
          .toList(),
      writable: (json["writable"] as List)
          .map((e) => SolAddress.uncheckCurve(e))
          .toList());
}