toJson method

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

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'emailAddressAuthenticationCodeInfo',
    if (extra != null) '@extra': extra,
    'email_address_pattern': email_address_pattern,
    'length': length
  };
}