feat: added result constant

add `kActivityResultOk` and `kActivityResultCanceled` constant
This commit is contained in:
Harsh Bhikadia 2021-05-09 11:45:35 +05:30
parent 3cfba600b2
commit bbe177a744

View file

@ -3,6 +3,9 @@ import 'dart:convert';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
const kActivityResultOk = -1;
const kActivityResultCanceled = 0;
class Intent { class Intent {
final bool isNull; final bool isNull;
final String? fromPackageName; final String? fromPackageName;