encode method

Map<String, Object?> encode()

Implementation

Map<String, Object?> encode() => {
  if (items != null) 'items': items!.toTfJson(),
};