toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return <String, dynamic>{
    if (container != null) r'container': container,
    if (file != null) r'file': file,
    if (permission != null) r'permission': permission,
    if (template != null) r'template': template,
    if (type != null) r'type': type,
  };
}