NamingConvention class abstract

This file contains the implementation of various naming conventions used in JSON serialization. Each convention is responsible for converting between different naming styles. The base class for all naming conventions. A naming convention is responsible for converting property names between different styles.

Implementers

Constructors

NamingConvention()

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Returns a unique identifier for this convention.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromCamelCase(String propertyName) String
Converts a property name from camelCase to this convention.
matches(String propertyName) bool
Checks if a property name matches this convention's pattern.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCamelCase(String propertyName) String
Converts a property name from this convention to camelCase.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited