AccountInfo constructor

AccountInfo({
  1. List<int>? accountId,
  2. List<int>? parentAccountId,
  3. String? publicName,
  4. String? profileImageUrl,
  5. String? code,
  6. int? decimalPlaces,
})

Implementation

factory AccountInfo({
  $core.List<$core.int>? accountId,
  $core.List<$core.int>? parentAccountId,
  $core.String? publicName,
  $core.String? profileImageUrl,
  $core.String? code,
  $core.int? decimalPlaces,
}) {
  final _result = create();
  if (accountId != null) {
    _result.accountId = accountId;
  }
  if (parentAccountId != null) {
    _result.parentAccountId = parentAccountId;
  }
  if (publicName != null) {
    _result.publicName = publicName;
  }
  if (profileImageUrl != null) {
    _result.profileImageUrl = profileImageUrl;
  }
  if (code != null) {
    _result.code = code;
  }
  if (decimalPlaces != null) {
    _result.decimalPlaces = decimalPlaces;
  }
  return _result;
}