v1UpdateRootQuorumIntent.fromJson constructor

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

Implementation

factory v1UpdateRootQuorumIntent.fromJson(Map<String, dynamic> json) {
  final _threshold = json['threshold'] as num;
  final _userIds = (json['userIds'] as List).map((e) => e as String).toList();
  return v1UpdateRootQuorumIntent(
    threshold: _threshold,
    userIds: _userIds,
  );
}