toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  final result = <String, dynamic>{};

  result.addAll({'totalItems': totalItems});
  result.addAll({'selfLink': selfLink});

  return result;
}