ShamirUpdateRequest.fromJSON constructor

ShamirUpdateRequest.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory ShamirUpdateRequest.fromJSON(Map<String, dynamic> data) {
	return ShamirUpdateRequest(
		(data["notariesIds"] as List<dynamic>).map((x0) => (x0 as String) ).toSet(),
		(data["minShares"] as int)
	);
}