RedelegationResponse constructor

RedelegationResponse({
  1. Redelegation? redelegation,
  2. Iterable<RedelegationEntryResponse>? entries,
})

Implementation

factory RedelegationResponse({
  Redelegation? redelegation,
  $core.Iterable<RedelegationEntryResponse>? entries,
}) {
  final _result = create();
  if (redelegation != null) {
    _result.redelegation = redelegation;
  }
  if (entries != null) {
    _result.entries.addAll(entries);
  }
  return _result;
}