importJson method

int importJson(
  1. List<Map<String, dynamic>> json
)

Import a list of json objects.

The json objects must have the same structure as the objects in this collection. Otherwise an exception will be thrown.

Implementation

int importJson(List<Map<String, dynamic>> json) =>
    importJsonString(jsonEncode(json));