artifacts property

List<Artifact>? get artifacts

Implementation

List<Artifact>? get artifacts {
  return (_json['artifacts'] as List?)
      ?.map((e) => Artifact.fromJson(e as Map<String, dynamic>))
      .toList();
}
set artifacts (List<Artifact>? value)

Implementation

set artifacts(List<Artifact>? value) {
  if (value == null) {
    _json.remove('artifacts');
  } else {
    _json['artifacts'] = value.map((e) => e.toJson()).toList();
  }
}