Code constructor
Code(
- String id, {
- int? level,
- String? rev,
- int? deletionDate,
- String? context,
- String? type,
- String? code,
- String? version,
- Map<
String, String> ? label, - String? author,
- Set<
String> ? regions, - Set<
Periodicity> ? periodicity, - Set<
String> ? links, - Map<
String, List< ? qualifiedLinks,String> > - Set<
CodeFlag> ? flags, - Map<
String, Set< ? searchTerms,String> > - String? data,
- Map<
AppendixType, String> ? appendices, - bool? disabled,
Implementation
Code(
this.id,
{
int? level,
String? rev,
int? deletionDate,
String? context,
String? type,
String? code,
String? version,
Map<String, String>? label,
String? author,
Set<String>? regions,
Set<Periodicity>? periodicity,
Set<String>? links,
Map<String, List<String>>? qualifiedLinks,
Set<CodeFlag>? flags,
Map<String, Set<String>>? searchTerms,
String? data,
Map<AppendixType, String>? appendices,
bool? disabled
}) : rev = rev ?? null,
deletionDate = deletionDate ?? null,
context = context ?? null,
type = type ?? null,
code = code ?? null,
version = version ?? null,
label = label ?? null,
author = author ?? null,
regions = regions ?? {},
periodicity = periodicity ?? {},
links = links ?? {},
qualifiedLinks = qualifiedLinks ?? {},
flags = flags ?? {},
searchTerms = searchTerms ?? {},
data = data ?? null,
appendices = appendices ?? {},
disabled = disabled ?? false,
_level = level ?? null;