DnaIdentityRequest.fromJson constructor

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

Implementation

factory DnaIdentityRequest.fromJson(Map<String, dynamic> json) =>
    DnaIdentityRequest(
      method: METHOD_NAME,
      params: List<String>.from(json["params"].map((x) => x)),
      id: json["id"],
      key: json["key"],
    );