FlutterVersionModel constructor

FlutterVersionModel({
  1. String? commit,
  2. String? version,
  3. String? branch,
  4. String? tag,
})

Implementation

factory FlutterVersionModel({
  $core.String? commit,
  $core.String? version,
  $core.String? branch,
  $core.String? tag,
}) {
  final _result = create();
  if (commit != null) {
    _result.commit = commit;
  }
  if (version != null) {
    _result.version = version;
  }
  if (branch != null) {
    _result.branch = branch;
  }
  if (tag != null) {
    _result.tag = tag;
  }
  return _result;
}