toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (atOdataPeriodNextLink != null) {
    json[r'@odata.nextLink'] = atOdataPeriodNextLink;
  }
  if (atOdataPeriodCount != null) {
    json[r'@odata.count'] = atOdataPeriodCount;
  }
  if (atOdataPeriodContext != null) {
    json[r'@odata.context'] = atOdataPeriodContext;
  }
  if (value != null) {
    json[r'value'] = value;
  }
  return json;
}