Future<T> create(Map<String, dynamic> data) async => fromJson(_asMap(await postJson(endpoint, body: data)));