createEdit method

  1. @override
Future<GooglePlayEdit> createEdit(
  1. String packageName
)
override

Starts an isolated application edit.

Implementation

@override
Future<GooglePlayEdit> createEdit(String packageName) => _guard(
  'create an application edit',
  () async {
    final edit = await _api.edits.insert(play.AppEdit(), packageName);
    return GooglePlayEdit(
      id: _required(edit.id, 'Google Play did not return an edit ID.'),
    );
  },
);