toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (container != null) 'container': container!,
  if (location != null) 'location': location!,
  if (name != null) 'name': name!,
  if (permission != null) 'permission': permission!,
  if (type != null) 'type': type!,
};