toJson method

String toJson(
  1. T entity
)

Implementation

String toJson(T entity) => json.encode(toMap(entity));