version method

GeneralAsset version(
  1. dynamic version
)

Implementation

GeneralAsset version(dynamic version) {
  if (version is int) {
    _version = '$version';
  } else {
    _version = version;
  }
  return this;
}