GetFieldIndex method

String GetFieldIndex(
  1. TKey? key
)
Gets the index of the field. The key.

Implementation

String GetFieldIndex(TKey? key) {
  return key.toString().split(".").last;
}