copyWith method

Data copyWith({
  1. num? id,
  2. String? version,
  3. String? type,
  4. num? isFource,
  5. String? appType,
  6. String? createdAt,
})

Implementation

Data copyWith({  num? id,
  String? version,
  String? type,
  num? isFource,
  String? appType,
  String? createdAt,
}) => Data(  id: id ?? _id,
  version: version ?? _version,
  type: type ?? _type,
  isFource: isFource ?? _isFource,
  appType: appType ?? _appType,
  createdAt: createdAt ?? _createdAt,
);