asMap method

  1. @override
Map<String, String?> asMap()
override

Returns the data for this credential serialized as a map.

Implementation

@override
Map<String, String?> asMap() {
  return {'code': code, 'phone': phone};
}