Plan constructor
Plan({
- String? name,
- @Deprecated('This field is deprecated.') Timestamp? time,
- Int64? height,
- String? info,
- @Deprecated('This field is deprecated.') Any? upgradedClientState,
Implementation
factory Plan({
$core.String? name,
@$core.Deprecated('This field is deprecated.')
$1.Timestamp? time,
$fixnum.Int64? height,
$core.String? info,
@$core.Deprecated('This field is deprecated.')
$2.Any? upgradedClientState,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (time != null) {
// ignore: deprecated_member_use_from_same_package
_result.time = time;
}
if (height != null) {
_result.height = height;
}
if (info != null) {
_result.info = info;
}
if (upgradedClientState != null) {
// ignore: deprecated_member_use_from_same_package
_result.upgradedClientState = upgradedClientState;
}
return _result;
}