toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (attributeName != null) 'attributeName': attributeName!,
      if (code != null) 'code': code!,
      if (description != null) 'description': description!,
      if (detail != null) 'detail': detail!,
      if (documentation != null) 'documentation': documentation!,
      if (numItems != null) 'numItems': numItems!,
      if (resolution != null) 'resolution': resolution!,
      if (servability != null) 'servability': servability!,
    };