TUpdateRootQuorumBody.fromJson constructor

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

Implementation

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