Create constructor

Create({
  1. Request? request,
  2. required String collection,
  3. required Map<String, dynamic> data,
  4. AccessToken? customToken,
})

Implementation

Create(
    {Request? request,
    required String collection,
    required Map<String, dynamic> data,
    AccessToken? customToken})
    : super(
          request: request?..token = customToken,
          access: Access(
              type: AccessType.create, collection: collection, data: data));