resultsToMap function

String resultsToMap(
  1. List<Results> data
)

Implementation

String resultsToMap(List<Results> data) => json.encode(
      List<Map<String, dynamic>>.from(
        data.map<Map<String, dynamic>>(
          (x) => x.toMap(),
        ),
      ),
    );