toJson method

  1. @override
Map<String, dynamic> toJson()
override

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'recoverPassword',
    if (extra != null) '@extra': extra,
    'recovery_code': recovery_code,
    'new_password': new_password,
    'new_hint': new_hint
  };
}