toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return <String, dynamic>{
    if (first != null) r'first': first,
    if (last != null) r'last': last,
    if (next != null) r'next': next,
    if (self != null) r'self': self,
  };
}